<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>友情链接列表</title>
	<style>
	.main{
		    width: 100%;
		    height: auto;
		    overflow: hidden;
		    position: relative;
		    z-index: 1;
		    top: 60px;
	}
	.title {
	    font-size: 12px;
	    line-height: 25px;
	    padding: 0 5px;
	    background: #eeeeee;
	    overflow: hidden;
	}
	.bd {
	    font: 14px arial, sans-serif bold;
	    color: #000;
	    border-bottom: #999 1px solid;
	    border-left: #ccc 1px solid;
	    border-top: #ccc 1px solid;
	    border-right: #999 1px solid;
	    padding: 5px;
	    height: 29px;
	}
	.websitethead {
	    font-size: 12px;
	    line-height: 25px;
	    background: #eeeeee;
	    overflow: hidden;
	}
	</style>
</head>
<body>
<div class="main">
	<div class="title">新增医院友情链接</div>
	<form action="{:U('adddateLink')}" method="post">
	     <table width="100%" border="0" cellspacing="0" cellpadding="5">
		    <tr>
		      <td align="right">关键词：</td>
		      <td><input type="text" name="link_content" class="bd"></td>
		    </tr>
		    <tr>
		      <td align="right">网址：</td>
		      <td><input type="url" name="link_url" class="bd" size="50">
		      </td>
		    </tr>
		    <tr>
		      <td align="right">&nbsp;</td>
		      <td> <input type="submit" value="新增" class="bd">
		      </td>
		    </tr>
		  </table>
	</form>

	<table width="100%" border="0" cellspacing="0" cellpadding="3">
		<thead class="websitethead">
			<tr>
				<td>id</td>
				<td>关键词</td>
				<td>网址</td>
				<td>修改</td>
				<td>删除</td>
			</tr>
		</thead>
		<tbody>
			<foreach name="linkmain" item="vo" >
				<tr>
					<td>{$vo.link_id}</td>
					<td>{$vo.link_content}</td>
					<td>{$vo.link_url}</td>
					<td><a href="{:U('updateLink',array('link_id'=>$vo['link_id']))}">修改</a></td>
					<td><a href="{:U('deldateLink',array('link_id'=>$vo['link_id']))}">删除</a></td>
				</tr>
			</foreach>
		</tbody>
	</table>

</div>
</body>
</html>